package com.nbicc.dp.modular.exception.custom;

import org.springframework.http.HttpStatus;

public interface ServiceException {


    /**
     * 获取异常编码
     *
     * @return
     */
    HttpStatus getStatus();

    /**
     * 获取异常信息
     *
     * @return
     */
    String getMessage();
}